.goods-slide-container {
  width: 100%;
  margin: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.movable-area {
  width: 100%;
  height: 120px;
  background-color: #ffffff;
  overflow: hidden;
}

.movable-view {
  width: calc(100% + 80px);
  height: 100%;
  display: flex;
  flex-direction: row;
  transition: x 0.2s ease;
}

.goods-info {
  flex: 1;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #f5f5f5;

  // 最后一个商品不需要底部边框
  &:last-child {
    border-bottom: none;
  }
}

.goods-title {
  font-size: 16px;
  color: #333333;
  line-height: 22px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-price {
  font-size: 18px;
  color: #ff4d4f;
  font-weight: 500;
  margin-top: 8px;
}

.slide-action {
  width: 80px;
  height: 100%;
  background-color: #ff4d4f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  // 点击反馈效果
  &:active {
    background-color: #d9363e;
  }
}
